package com.dtb.trade.entity.mongodb.third;

import com.dtb.trade.entity.PointDeal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * @Author:ChengJian
 * @Description:
 * @Date: Created in 上午9:59 2018/8/6
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "third_block")
public class ThirdBlock {


    private int index;

    private String hash;

    private long timestamp;

    private List<PointDeal> pointDeals;

    private String data;

    private int nonce;

    private String previousHash;
}
